<div class="login-container flex-center position-ref full-height">
    <div class="container">
        <div class="row">
            <div class="col-md-6 offset-md-3">
                <div *ngIf="!confirmed" class="card login-card">
                    <h1 class="title">Global Access</h1>
                    <p>To reset your password, enter the email address you use to sign in to  Sustainalytics' global platform</p>

                    <div class="form-group">
                        <input type="text" class="form-control text-input" name="username" [(ngModel)]="email" placeholder="Email address" #username="ngModel" required />
                    </div>
                    <div class="form-group">
                        <button class="btn btn-block sign-in-btn" [disabled]="email=='' || sent == true" (click)="resetPass()">Send Reset Instructions</button>
                    </div>
                </div>
                <div *ngIf="confirmed" class="card login-card">
                    <h1 class="title">Global Access</h1>
                    <p>An email has been sent with a link to reset your password.</p>
                    <p>Please contact your client advisor if you do not receive an email.</p>
                    <p>Return to the <a [routerLink]="['/login']" class="text-link">login page</a></p>
                </div>
                <div class="mt-3 ml-5 mr-5">
                    <span class="small float-left ml-4">&copy; Sustainalytics. All Rights Reserved.</span>
                    <a class="small float-right mr-4" href="https://www.sustainalytics.com/about-us" target="_blank">About Sustainalytics</a>
                </div>
            </div>
        </div>
    </div>
</div>